<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/common/common.css" />
<link rel="stylesheet" href="css/upload/upload.css" />
<title>文件断点上传</title>
</head>
<body>
<div class="side-bar">
	<div><a href="upload.html">文件上传</a></div>
</div>
<div class="content-space">
	<div class="upload-area">
		<div class="input-div">
			<input id="fileInput" type="file"/>
		</div>
        <div class="input-div">
            上传方式：
            <input  type="radio" value="1" name="sendType" checked onclick="changeType(1)">分片上传</input>
            <input  type="radio" value="2" name="sendType" onclick="changeType(2)">一次性上传</input>
        </div>
		<div class="upload-div">
			<button class="demo-btn primary" onclick="uploadFile();">上传</button>
			上传进度：<span id="progress-text">0/0</span>
		</div>
	</div>
	<button id="btnInterrupt" class="demo-btn primary" style="width: 90px;" onclick="interruptSendFile()">中断上传</button>
	<button id="btnContinue" class="demo-btn primary" style="width: 90px;" onclick="continueSendFile()">继续上传</button>
	<button class="demo-btn primary" style="width: 90px;" onclick="downloadFile()">下载文件</button>

</div>
</body>
<script src="js/jquery/jquery-1.11.2.min.js"></script>
<script src="js/ajax/ajax.js"></script> <!-- 异步请求js文件 -->
<script src="js/upload/fileUpload.js"></script> <!-- 文件上传功能js文件 -->
</html>